<template>
  <div>
    订单tab
    发送Ajax请求,把id={{userIdForOrders}}带给后台,后台返回数据
  </div>
</template>

<script>
export default {
  name: 'orders-tab',
  data () {
    return {
    }
  },
  props: ['userIdForOrders'],
  created () {
    console.log(this.userIdForOrders)
  }
}
</script>

<style scoped>

</style>
